package priv.work3;

import org.springframework.beans.factory.annotation.Autowired;

public class CanGuan {
	@Autowired
	private CanDan candan;
	
	@Autowired
	private Table table;
	
	@Autowired
	private Waiter waiter;

	public CanDan getCandan() {
		return candan;
	}

	public void setCandan(CanDan candan) {
		this.candan = candan;
	}

	public Table getTable() {
		return table;
	}

	public void setTable(Table table) {
		this.table = table;
	}

	public Waiter getWaiter() {
		return waiter;
	}

	public void setWaiter(Waiter waiter) {
		this.waiter = waiter;
	}

	@Override
	public String toString() {
		return "CanGuan [candan=" + candan + ", table=" + table + ", waiter=" + waiter + "]";
	}

	public CanGuan() {
		
	}
}
